package com.itheima.service;

import com.itheima.domain.User;

import java.sql.SQLException;
import java.util.List;

public interface UserService {
    boolean Register(User user);

    User login(User user);

    List<User> findAllUser();

    boolean addUser(User user);

    User findById(String id);

    boolean update(User user);

    boolean deleteById(String id);
}
